package com.gmrz.webauthn.protocol.v1.schema;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;


public class PublicKeyCredentialParameters {
    @SerializedName("type")
    @Expose
    private PublicKeyCredentialType type;
    @SerializedName("alg")
    @Expose
    private SignAlgorithmIdentifier alg;

    public PublicKeyCredentialType getType() {
        return this.type;
    }

    public SignAlgorithmIdentifier getAlg() {
        return this.alg;
    }

    public void setType(PublicKeyCredentialType type) {
        this.type = type;
    }

    public void setAlgorithm(SignAlgorithmIdentifier algorithm) {
        this.alg = algorithm;
    }

    public PublicKeyCredentialParameters withType(PublicKeyCredentialType type) {
        this.type = type;
        return this;
    }

    public PublicKeyCredentialParameters withAlgorithm(SignAlgorithmIdentifier algorithm) {
        this.alg = algorithm;
        return this;
    }
}
